<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/1/18
  Time: 9:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">
    <link rel="canonical" href="https://getbootstrap.com/docs/3.4/examples/signin/">
    <title>Signin Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">

</head>

<body>
<c:set var="gb" value="${gb}"></c:set>
<div class="container">
    <form method="post" action="manager?id=${gb.id}&q=update">
<%--        <input type="hidden" name="id" value="${gb.id}">--%>
<%--        <input type="hidden" name="q" value="update">--%>
        <div class="form-group">
            <label for="exampleInputName">name</label>
            <input type="text" value="${gb.name}"  name="name" class="form-control" id="exampleInputName" placeholder="please input name">
        </div>
        <div class="form-group">
            <label for="exampleInputPhone">phone</label>
            <input type="text" value="${gb.phone}" name="phone" class="form-control" id="exampleInputPhone" placeholder="please input phone">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail">email</label>
            <input type="email" value="${gb.email}" name="email" class="form-control" id="exampleInputEmail" placeholder="please input email">
        </div>
        <div class="form-group">
            <label for="exampleInputTitle">title</label>
            <input type="text" value="${gb.title}" name="title" class="form-control" id="exampleInputTitle" placeholder="please input title">
        </div>
        <div class="form-group">
            <label for="exampleInputContent">content</label>
            <textarea id="exampleInputContent" name="content" class="form-control" rows="3"
                      placeholder="please input content">${gb.content}</textarea>
        </div>

        <button type="submit" class="btn btn-default">Submit</button>
        <button type="reset" class="btn btn-default">Cancel</button>
    </form>
</div> <!-- /container -->


<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>